package com.zhijian.warehouse.manage.controller.app;

import com.zhijian.response.annotation.Response;
import com.zhijian.util.page.Page;
import com.zhijian.warehouse.manage.entity.vo.request.StoreOptRecordSearchVo;
import com.zhijian.warehouse.manage.entity.vo.response.IndexOutlineVo;
import com.zhijian.warehouse.manage.entity.vo.response.StoreOptRecordVo;
import com.zhijian.warehouse.manage.service.IndexService;
import com.zhijian.warehouse.manage.service.StoreOptRecordService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 库存管理 控制层
 * 
 * @author auto
 * @version 1.0
 * @date 2024-10-27 13:42:54
 */
@Slf4j
@Controller
@Api(tags = "app首页")
@RequestMapping("/app")
public class AppIndexController {

    @Autowired
    private IndexService service;


    /**
     *
     * @return
     */
    @Response
    @GetMapping("/index/line")
    @ApiOperation("app首页")
    public IndexOutlineVo selectLineVo() {
        return service.selectLineVo();
    }

}